Go to the first, previous, next, last section, table of contents.

Other Forms

GDL forms in this section are those that do not really fit anywhere else.

UnitTypeProperty: name-internal str

Internally used type name.

Default Display Style

The exact style of display depends on the user interface and on user preferences, but for some games, you may want to encourage a particular style by making it be the default.

GlobalVariable: unseen-char str

This variable is a string whose first character will be used to represent unexplored terrain. If the string consists of two characters, the second char will be scattered throughout a field of the first char. Defaults to "".

GlobalVariable: unseen-color str

This variable is the name of a color that will be used to represent unexplored terrain. Defaults to "".

GlobalVariable: unseen-image-name str

This variable is the name of an image that will be used to represent unexplored terrain. Defaults to "".

GlobalVariable: grid-color str

This variable is the name of a color to use to draw the cell-separating grid. Defaults to "".

The Random State

It is useful to be able to restart the random number generator consistently.

GlobalVariable: random-state n

This variable is the state of the random number generator. If this is not used, then the initial state of the random number generator will be set in a system-dependent way.

Debugging Support

Form: print value

This form prints to a console or file (depending on the interface) the object value, in GDL syntax.


Go to the first, previous, next, last section, table of contents.